<?PHP


$ad=new ads;
$ad->get_campaign();

$headers[]='Id';
$headers[]='Name';
$headers[]='Type';


$headers[]='Action';
$show[]='id';
$show[]='name';
$show[]='type';


$links['Edit']='?q=m/ads/d_campaign.php&cmd=edit&id=';
printformheader('Ad Zones','Content Listing');

if(!empty($ad->data))
{

	p_table($headers,$ad->data,$links,"class='tablesorter'",$show,$ajax,FALSE);

} 
printformfooter('Add Zone','index.php?q=m/ads/d_campaign.php&cmd=add',NULL,NULL,NULL,NULL);
?>